package com.wss.lsl.alading.mapper;

import com.wss.lsl.alading.domain.Card;
import com.wss.lsl.alading.domain.Company;
import com.wss.lsl.alading.domain.CompanyCard;
import com.wss.lsl.alading.vo.CardVo;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

public interface CompanyCardMapper extends CommonMapper<CompanyCard> {

    List<Integer> selectAllPic();

    Card selectDefaultCard();

    void insertCard(Card card);

    List<Company> selectCompanies(Map<String, Object> params);

    Integer countCompanies(Map<String, Object> params);

    Integer updateAllCardStatus(boolean b);

    List<CardVo> selectCards(Map<String, Object> params);

    Integer countCards(Map<String, Object> params);

    void deleteCompanyCardByCardId(Integer id);

    void deleteCard(Integer id);

    CardVo selectCardVo(Integer cardId);

    void updateCard(Card card);

    List<Card> selectCardsByName(String cardName);
}
